package com.itheima.d11_interface_attention;

public class Test {
    public static void main(String[] args) {

    }
}

interface A {
    void method();
}
interface B {
    void method();
}

interface D extends A, B {

}

class C implements D {
    @Override
    public void method() {
        System.out.println("C");
    }
}
